<template>
	<div>
		<button>按钮</button>
		<el-button>默认按钮</el-button>
		<el-button type="primary">主要按钮</el-button>
		<el-button type="success" @click="test">成功按钮</el-button>
		<el-button type="info">信息按钮</el-button>
		<el-button type="warning">警告按钮</el-button>
		<el-button type="danger">危险按钮</el-button>
	</div>
</template>

<script>
	export default {
		name:'App',
		methods: {
			test(){
				this.$message({
          message: '恭喜你，这是一条成功消息',
          type: 'info'
        });
			}
		},
	}
</script>

<style>
	
</style>